home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / Tool Chest / Developer Utilities / Installer 4.0GM SDK / Installer 4.0 / DeveloperInterfaces / PIncludes / ActionHandlerHeader.p < prev    next >
Encoding:
Text File  |  1994-02-10  |  8.1 KB  |  205 lines  |  [TEXT/MPS ]

  1. {
  2.     File:        ActionHandlerHeader.p
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Written by:    Kevin Aitken
  7.  
  8.     Copyright:    © 1993 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <9>     1/12/94    KBA        Changed "Res" to "Rsrc" for resource progress definitions.
  13.          <8>    12/21/93    KBA        Added kMenuEventActID.
  14.          <7>     11/5/93    KBA        Added more actions.
  15.          <6>    10/27/93    KBA        Added more progress actions.
  16.          <5>    10/25/93    KBA        Added more progress actions.
  17.          <4>     4/30/93    KBA        Made only one Action Atom progress action.
  18.          <3>     4/23/93    KBA        Added action handler constants for rule clauses and few more
  19.                                     progress actions.
  20.          <2>     4/11/93    KBA        Added new DebuggerAction identifier (kStdEventActID).
  21.          <1>      4/1/93    KBA        first checked in
  22.  
  23. }
  24.  
  25.  
  26. UNIT ActionHandlerHeader;
  27.  
  28.  
  29. {****************************************} INTERFACE {****************************************}
  30.  
  31.  
  32. CONST    
  33.  
  34. {==================================================================================================}
  35. {=================================== Script Action Class ==========================================}
  36. {==================================================================================================}
  37.         kScriptAction                = 5000;
  38.         kPackageNotFoundActID        = 5001;
  39.         kAtomNotFoundInPackageActID    = 5002;
  40.         kFrameworkNotFoundActID        = 5003;
  41.         kRuleNotFoundActID            = 5004;
  42.         kFileSpecNotFoundActID        = 5005;
  43.         kFileSpecIsBadActID            = 5006;
  44.         kCouldNotOpenScriptActID    = 5007;
  45.         kFileSpecIDIsBadActID        = 5008;
  46.         kAtomIDIsBadActID            = 5009;
  47.         kNotEnoughMemoryToReadActID    = 5010;
  48.         kSubHeapToSmallActID        = 5011;
  49.         kFileSpecNotFndWithRefActID    = 5012;
  50.         kVersCompareNotFoundActID    = 5013;
  51.         kSearchProcNotFoundActID    = 5014;
  52.         kRuleFunctionNotFoundActID    = 5015;
  53.  
  54. {==================================================================================================}
  55. {==================================== Rule Action Class ===========================================}
  56. {==================================================================================================}
  57.         kRemapActionResultToCancel    = 1;
  58.         kRemapActionResultToError    = -1;
  59.         kRemapActionResultToTRUE    = 1;
  60.         kRemapActionResultToFALSE    = -1;
  61.         kDontRemapActionResult        = 0;
  62.  
  63.         kFireRulesAction            = 5100;
  64.         kFrameworkActID                = 5101;
  65.         kRuleResultActID            = 5102;
  66.         kRuleClauseResultActID        = 5103;
  67.  
  68. {==================================================================================================}
  69. {=================================== Target Action Class ==========================================}
  70. {==================================================================================================}
  71.  
  72.         kTargetAction                = 5200;
  73.         kTgtFileNotFoundActID        = 5201;
  74.         kTgtFileLockedActID            = 5202;
  75.         kTgtErrForFileAtomActID        = 5203;
  76.         kTgtErrForRsrcAtomActID        = 5204;
  77.         kTgtErrForFontAtomActID        = 5205;
  78.         kTgtMatchesSrcErrActID        = 5206;
  79.         kTgtErrForFolderAtomActID    = 5207;
  80.         kTgtErrForResMergeAtomActID    = 5208;
  81.  
  82.  
  83. {==================================================================================================}
  84. {=================================== Source Action Class ==========================================}
  85. {==================================================================================================}
  86.         kSourceAction                = 5300;
  87.         kSrcFileNotFoundActID        = 5301;
  88.         kSrcErrForFileAtomActID        = 5302;
  89.         kSrcErrForRsrcAtomActID        = 5303;
  90.         kSrcErrForFontAtomActID        = 5304;
  91.         kSrcErrForFolderAtomActID    = 5305;
  92.         kSrcErrForResMergeAtomActID    = 5306;
  93.  
  94. {==================================================================================================}
  95. {=================================== Extender Action Class ========================================}
  96. {==================================================================================================}
  97.         kExtenderAction                = 5400;
  98.         kExtCodeRsrcNotFoundActID    = 5401;
  99.         kExtenderRsrcNotFoundActID    = 5402;
  100.         kCallBackNotAvailableActID    = 5403;
  101.         kExtenderResultActID        = 5404;
  102.         kA5NotSetCorrectlyActID        = 5405;
  103.         kTgtSetupProcNotFoundActID    = 5406;
  104.         kVersCodeRsrcNotFoundActID    = 5407;
  105.         kActionAtomCodeRsrcNFActID    = 5408;
  106.         kSearchProcCodeRsrcNFActID    = 5409;
  107.         kSearchProcBadFileActID        = 5410;
  108.         kRuleFuncCodeRsrcNFActID    = 5411;
  109.         kLowModuleSetupMemoryActID    = 5412;
  110.         kNoModuleSetupMemoryActID    = 5413;
  111.  
  112. {==================================================================================================}
  113. {=================================== Debugging Action Class =======================================}
  114. {==================================================================================================}
  115.         kDebuggingAction            = 5600;
  116.         kInitializationActID        = 5601;
  117.         kCloseActID                    = 5602;
  118.         kStdEventActID                = 5603;
  119.         kGenericDebugActID            = 5604;
  120.         kMenuEventActID                = 5605;
  121.  
  122. {==================================================================================================}
  123. {=================================== Progress Action Class ========================================}
  124. {==================================================================================================}
  125.         kProgressAction                = 5700;
  126.         kClickedInstallActID        = 5701;
  127.         kClickedRemoveActID            = 5702;
  128.         kInstallationResultActID    = 5703;
  129.         kRemovalResultActID            = 5704;
  130.         kActionAtomResultActID        = 5705;
  131.  
  132. {==================================================================================================}
  133. {================================== File Process Action Class =====================================}
  134. {==================================================================================================}
  135.         kFileProgressAction            = 5800;
  136.         kFileCopiedID                = 5801;
  137.         kFileNotCopiedID            = 5802;
  138.         kFileNotCopiedNewerLeftID    = 5803;
  139.         kFileNotCopiedLockedID        = 5804;
  140.         kFileUpdatedID                = 5805;
  141.         kFileNotUpdatedKeptExistID    = 5806;
  142.         kFileNotUpdatedNotExistID    = 5807;
  143.         kFileRemovedID                = 5808;
  144.         kFileNotRemovedID            = 5809;
  145.         kFileNotRemovedNoExistID    = 5810;
  146.         kFileNotRemovedLockedID        = 5811;
  147.         kFileSetLockedID            = 5812;
  148.         
  149. {==================================================================================================}
  150. {===================================== Resource Process Action Class ==============================}
  151. {==================================================================================================}
  152.         kRsrcProgressAction            = 5900;
  153.         kRsrcCopiedID                = 5901;
  154.         kRsrcNotCopiedID                = 5902;
  155.         kRsrcNotCopiedNotTargetID    = 5903;
  156.         kRsrcNotCopiedProtectedID    = 5904;
  157.         kRsrcUpdatedID                = 5905;
  158.         kRsrcNotUpdatedKeptExistID    = 5906;
  159.         kRsrcNotUpdatedLockedID        = 5907;
  160.         kRsrcNotUpdatedNotExistID    = 5908;
  161.         kRsrcNotUpdatedProtectedID    = 5909;
  162.         kRsrcRemovedID                = 5910;
  163.         kRsrcNotRemovedID            = 5911;
  164.         kRsrcNotRemovedNoExistID        = 5912;
  165.         kRsrcNotRemovedProtectedID    = 5913;
  166.         kRsrcNotRemovedLockedID        = 5914;
  167.                                                 
  168. {==================================================================================================}
  169. {===================================== Font Process Action Class ==================================}
  170. {==================================================================================================}
  171.         kFontProgressAction            = 6000;
  172.         kFontCopiedID                = 6001;
  173.         kFontNotCopiedID            = 6002;
  174.         kFontUpdatedID                = 6003;
  175.         kFontNotUpdatedKeptExistID    = 6004;
  176.         kFontNotUpdatedLockedID        = 6005;
  177.         kFontNotUpdatedNotExistID    = 6006;
  178.         kFontNotUpdatedProtectedID    = 6007;
  179.         kFontRemovedID                = 6008;
  180.         kFontNotRemovedID            = 6009;
  181.         kFontNotRemovedNoExistID    = 6010;
  182.         kFontNotRemovedLockedID        = 6011;
  183.         kFontNotRemovedProtectedID    = 6012;
  184.  
  185. {==================================================================================================}
  186. {==================================== Folder Process Action Class =================================}
  187. {==================================================================================================}
  188.         kFolderProgressAction        = 6100;
  189.         kFolderCopiedID                = 6101;
  190.  
  191.  
  192. {==================================================================================================}
  193. {=================================== ResMerge Process Action Class ================================}
  194. {==================================================================================================}
  195.         kResMergeProgressAction        = 6200;
  196.         kResMergeCopiedID            = 6201;
  197.  
  198. IMPLEMENTATION
  199.     { Implemented by you }
  200.  
  201. END.        { ActionHandlerHeader UNIT }
  202.  
  203.  
  204.  
  205.